<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>天空电影设置</title>
    <link rel="stylesheet" href="__STATIC__/layui/css/layui.css?v=1024">
    <link rel="stylesheet" href="__STATIC__/css/admin_style.css?v=1024">
    <script type="text/javascript" src="__STATIC__/js/jquery.js?v=1024"></script>
    <script type="text/javascript" src="__STATIC__/layui/layui.js?v=1024"></script>
    <script>
        
    </script>
    <style type="text/css">
        label.layui-form-label {
            width: calc(100% - 40px);
            margin: 10px;
            padding: 0 10px;
            text-align: left;
        }
        .layui-input-block {
            margin-left: 10px !important;
            min-height: 36px;
            margin-right: 10px;
        }
    </style>
</head>
<body>
    
<form  class="layui-form layui-form-pane" method="post" action="">
     <input id="vod_id" name="id" type="hidden" value="{$infodata.id}">
     <div class="layui-form-item">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
          <legend>剧集链接</legend>
        </fieldset>
        <div class="layui-input-block">
            <textarea name="url" id="url" placeholder="请输入链接" class="layui-textarea">{$infodata.value}</textarea>
        </div>
      </div>
      <div class="layui-form-item">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
          <legend>key</legend>
        </fieldset>
        <div class="layui-input-block">
            <textarea name="key" id="key" placeholder="请输入key" class="layui-textarea">{$infodata.key}</textarea>
        </div>
      </div>
      
      <div class="layui-form-item">
        <div class="layui-input-block" style="text-align: center; margin-top: 20px;">
        <button type="submit" class="layui-btn" lay-submit="" lay-filter="formSubmit" data-child="true">保 存</button>
        </div>
      </div>
</form>
{include file="../../../application/admin/view/public/foot" /}
<script>
  layui.use(['form', 'layedit', 'laydate'], function(){
      var form = layui.form
      ,layer = layui.layer;
  });
  $("#url").change(function() {
      $(this).val(decodeURIComponent($(this).val()));
  });
  
</script>
</body>
</html>